<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>山东商务网</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>

<body>
	<div class="container-fluid">
		<div class="row p_head">
			<div class="col-sm-4 col-md-2 col-lg-1 p_head_logo">
				<img src="images/logo.png" width="40px" alt="">
			</div>
			<div class="col-xs-8 col-md-10 p_head_text">
				<h1>山东省商务厅</h1>
				<span class="hidden-xs">Department of Commerce of Shangdong Province</span>
			</div>
		</div>
		<div class="row">
			<ol class="breadcrumb p_breadcrumb">
			  <li><a href="index.html">首页</a></li>
			  <li class="active">政务大厅</li>
			</ol>
		</div>
		<div class="row p_list">
			<h4><a href="list.html">办事指南</a></h4>
			<ul class="p_list_article">
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			  <li><a href="article.html">文章列表内容文章列表内容</a></li>
			</ul>
			<a class="p_list_more" href="#">查看更多</a>
		</div>
		<div class="row p_list" id="doc_handle">
			<h4><a href="#">公文办理结果公示</a></h4>
		</div>
		<div class="row p_list" id="xz_permit">
			<h4><a href="list.html">行政许可办理结果公示</a></h4>
		</div>
		
		<div class="row p_page">
			<nav aria-label="Page navigation ">
			  <ul class="pagination p_pagination">
			    <li>
			      <a href="#" aria-label="Previous">
			        <span aria-hidden="true">&laquo;</span>
			      </a>
			    </li>
			    <li><a href="#">1</a></li>
			    <li><a href="#">2</a></li>
			    <li><a href="#">3</a></li>
			    <li><a href="#">4</a></li>
			    <li><a href="#">5</a></li>
			    <li>
			      <a href="#" aria-label="Next">
			        <span aria-hidden="true">&raquo;</span>
			      </a>
			    </li>
			  </ul>
			</nav>
		</div>
	</div>
	
<script type="text/javascript">
$(function($) {
	$.getJSON("http://60.216.101.87/list.json", function(json){
	  	console.log(json.length);
	  	console.log(json);
		for(var i=0; i<10; i++){
			$("#doc_handle").append('<div class="row col-xs-12 doc_handle"><h3 class="col-xs-12"><strong>申请人：</strong>'+json[i].xdr+'</h3><p class="col-xs-12">'+json[i].xmmc+'</p><div class="result col-xs-6"><strong>结果：</strong>准予许可</div><div  class="end_time col-xs-6"><strong>办结时间：</strong>'+json[i].sjc+'</div></div>');
		}
	});
	$.getJSON("http://office.shandongbusiness.gov.cn/swlist5list.php", function(json){
	  	console.log(json.length);
	  	console.log(json);
		for(var i=0; i<10; i++){
			$("#xz_permit").append('<div class="row col-xs-12 doc_handle"><h3 class="col-xs-12">来文单位：'+json[i].sw_department+'</h3><p class="col-xs-12">'+json[i].sw_title+'</p><div class="result col-xs-6"><strong>结果：</strong>已办结</div><div  class="end_time col-xs-6"><strong>收文号：</strong>'+json[i].sw_id+'</div></div>');
		}
	});
});
</script>
</body>
</html>
